package eu.chargetime.ocpp.jsonserverimplementation;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@Slf4j
public class JsonServerImplementationApplication {

    public static void main(String[] args) {

		ConfigurableApplicationContext run = SpringApplication.run(JsonServerImplementationApplication.class, args);
		String port  = run.getEnvironment().getProperty("server.port");
		log.info("[项目启动成功,port:{}]",port);
	}

}
